Snapshot.toPaintable

Returns a paintable encapsulating the render node that was constructed by @snapshot.

After calling this function, it is no longer possible to add more nodes to @snapshot. The only function that should be called after this is [method@GObject.Object.unref].

class Snapshot
toPaintable

Parameters

size Size

The size of the resulting paintable or %NULL to use the bounds of the snapshot

Return Value

a new GdkPaintable

Meta